package com.dgut.test1.controller;

import com.dgut.test1.bean.Student;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StudentController {

    @RequestMapping("/student")
    public Student GetStudent(){
        Student student = new Student("201841412125","余致光","男");
        return student;
    }
}
